package com.evon.yardmanagement.ui.dto;

import java.io.Serializable;
import java.util.List;

import org.dozer.Mapping;

public class RoleDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int id;

	private String name;

	@Mapping("owningCompany")
	private VendorDTO owningCompany;

	@Mapping("allowedAction")
	private List<ActionDTO> allowedAction;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public VendorDTO getOwningCompany() {
		return owningCompany;
	}

	public void setOwningCompany(VendorDTO owningCompany) {
		this.owningCompany = owningCompany;
	}

	public List<ActionDTO> getAllowedAction() {
		return allowedAction;
	}

	public void setAllowedAction(List<ActionDTO> allowedAction) {
		this.allowedAction = allowedAction;
	}

}
